<?php

/**
 *	@name Resources
 *	@copyright : SMART - ULg (www.smart.ulg.ac.be)		
 *
**/


/**
 * Class Resources : 
 * description
 * 
 * $Rev$ 
 * $LastChangedRevision$
 * $LastChangedBy$
 * $LastChangedDate$
 * $HeadURL$
 *
 * @name ProjectsListBroker
 * @package webservices/broker
 * @author : JPh HUMBLET
 * @copyright : SMART - ULg (www.smart.ulg.ac.be)
 * @category : ExAMS::Core
 *
**/

class Resources extends AbstractProjectItem
{
	
	/**
	 * getByName
	 * undocumented function
	 *
	 * @return ProjectItem
	 * @author jph (jp.humblet@ulg.ac.be)
	**/
	public function getByName($name) {
		foreach ($this->children() as $child) {
			if ((string) $child->Name == $name) {
				return $child;
			}
		}
		return false;
	}

	
	
}


?>